package br.com.massai.model.business;

import java.sql.SQLException;
import java.util.List;

import javax.ejb.Local;

import br.com.massai.model.entity.Collaborator;
import br.com.massai.model.entity.Department;
import br.com.massai.model.entity.ProductionGroup;
import br.com.massai.model.exceptions.SystemException;

@Local
public interface DepartmentBusiness extends GenericBusiness<Department> {
	
	public List<Department> getBusyDepartmentsByProductionGroup() throws SystemException;
	public List<Department> getDepartmentsByProductionGroup(ProductionGroup productionGroup) throws SystemException;
	public List<Department> getActiveDepartments() throws SystemException;
	public List<Department> getDepartmentByUser(Collaborator collaborator) throws SystemException;
	
	public Department getDepartmentFORTES(String codeEmp, String codeDepartment) throws SystemException, SQLException;

}
